DX11 LOAD GEOMETRY SHADER

Loads and compiles a geometry shader.

  Syntax
Return Dword = DX11 LOAD GEOMETRY SHADER(fileName, functionName, profile)
  Parameters
fileName
String
The name of the file to load the shader from.
functionName
String
The name of the geometry shader function to compile from the shader file.
profile
String
The profile name defines the shader version to compile the HLSL code as. Defaults to "gs_5_0" for pixel shader model 5.0, or "gs_4_0" if in DX10 compatibility mode.

  Returns

The loaded geometry shader.

  See also

GEOMETRYSHADER Functions Menu
DX11 Function Categories